<?php
/**
 * Created by PhpStorm.
 * User: wodrow
 * Date: 19-6-27
 * Time: 上午10:37
 */

namespace common\models\credit_app;

/**
 * Class BankRate
 * @package common\models\credit_app
 *
 * @property Bank $bank
 */
class BankRate extends \common\models\credit_app_tables\BankRate
{
    /**
     * @return \yii\db\ActiveQuery
     */
    public function getBank()
    {
        return $this->hasOne(Bank::class, ['bk_id' => 'rt_bank_id']);
    }
}